<%@include file="header.jsp" %>
<c:set var="t" value="true" />
	<table class="table table-striped">
		<tr>
			<th>#</th>
			<th><fmt:message key="label.holiday.holidayname"></fmt:message></th>
			<th><fmt:message key="label.holiday.holidaydate"></fmt:message></th>
			<th>Action</th>
		</tr>
		<c:forEach var="oneHoliday" items="${holidays}" varStatus="status">
			<tr>
				<td>${oneHoliday.holidayID}</td>
				<td>${oneHoliday.holidayName}</td>
				<td>${oneHoliday.holidayDate}</td>
				<td>
                <c:url var="delurl" scope="page" value="/DeleteHoliday">
                	<c:param name="holidayID" value="${oneHoliday.holidayID}"/>
                </c:url>
                	<a href="${delurl}"><fmt:message key="label.holiday.delete"/></a>
                </td>
			</tr>
		</c:forEach>
	</table>
	<c:url var="detailurl" scope="page" value="/AddHoliday.jsp">
		<c:param name="holidayname" value=""/>
        <c:param name="holidaydate" value=""/>
    </c:url> 
	<a class="btn btn-primary" href="${detailurl}"><fmt:message key="label.holiday.add" /></a>
<%@include file="footer.jsp" %>